/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/27/2010                        
            */

             using System;
            using System.Collections.Generic; 
            using System.Text;  
            namespace BusinessObject{
             /// <summary>
                    /// Define KhachHangResult object. This object used to contain data that returned from data layer.
                /// </summary>
                public class KhachHangResult {
		#region fields
		private int maKhachHang; 
		private string tenKhachHang; 
		private string diaChi; 
		private string dienThoai; 
		private string email; 
 #endregion fields

		 #region properties
          /// <summary>
            /// Define MaKhachHang Property.
            /// </summary>
		public int MaKhachHang {
			get { return this.maKhachHang; }
			set { this.maKhachHang = value; }
		}
          /// <summary>
            /// Define TenKhachHang Property.
            /// </summary>
		public string TenKhachHang {
			get { return this.tenKhachHang; }
			set { this.tenKhachHang = value; }
		}
          /// <summary>
            /// Define DiaChi Property.
            /// </summary>
		public string DiaChi {
			get { return this.diaChi; }
			set { this.diaChi = value; }
		}
          /// <summary>
            /// Define DienThoai Property.
            /// </summary>
		public string DienThoai {
			get { return this.dienThoai; }
			set { this.dienThoai = value; }
		}
          /// <summary>
            /// Define Email Property.
            /// </summary>
		public string Email {
			get { return this.email; }
			set { this.email = value; }
		}
              #endregion properties
		
		#region constructor
        /// <summary>
            /// Define default constructor for KhachHangResultResult Object.
            /// </summary>
		public KhachHangResult (){
			this.maKhachHang = int.MinValue;
			this.tenKhachHang = string.Empty;
			this.diaChi = string.Empty;
			this.dienThoai = string.Empty;
			this.email = string.Empty;            
		}
 /// <summary>
            /// Define constructor for KhachHangResultResult Object.
            /// </summary>
		public KhachHangResult ( int maKhachHang, 
					string tenKhachHang, 
					string diaChi, 
					string dienThoai, 
					string email ) {
			this.maKhachHang = maKhachHang;
			this.tenKhachHang = tenKhachHang;
			this.diaChi = diaChi;
			this.dienThoai = dienThoai;
			this.email = email;             
		}
		#endregion constructor
	}
}